package com.hmall.mapper;

import com.hmall.model.SysCustomer;
import com.hmall.util.MyMapper;
import com.hmall.vo.SysUserDetailVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysCustomerMapper extends MyMapper<SysCustomer> {
    SysUserDetailVo selectByUserIdVo(Integer userId);

    List<Integer> selectCustomerIdLisstBySalsemanId(@Param("userId") Integer userId);

    SysCustomer selectByUserId(@Param("customerUserId") Integer customerUserId);

    Integer selectCustomerUserId(@Param("customerId") Integer customerId);
}